﻿
using Microsoft.Xna.Framework.Content;
namespace RebellionII.GameObjects.Units
{
    /// <summary>
    /// The State any Unit can be
    /// </summary>
    public enum State
    {
        IsTravelling,
        Damaged,
        Normal,
        Imprisoned,
        Injured,
    };

    public class BaseUnit
    {
        public int iUniqueID { get; set; }

        public string sName { get; set; }
        public string sTextureName { get; set; }

        public bool bIsEnabled { get; set; }

        public int iConstructionCost { get; set; }
        public int iMaintenanceCost { get; set; }

        public TeamName TheTeam { get; set; }

        [ContentSerializerIgnore]
        public State CurrentState { get; set; }

        public BaseUnit()
        {
            CurrentState = State.Normal;
        }
    }
}
